#include <Windows.h>
#include <atlstr.h>
#include <iostream>
#include <tchar.h>
//#include <afx.h>

#define HEADINFORBUFFER		20
#define BLOCKINFORBUFFER	(5 * 1024)

_declspec(dllexport) BOOL SecondEnDecrypt(char *szstrFile);
_declspec(dllexport) BOOL FirstEncryption(char* szstrFile);
_declspec(dllexport)BOOL FirstDecryption(char *szstrFile, char *szstrWorkFile);
_declspec(dllexport) void GetRestoreFile(char * m_SourceFileName);
_declspec(dllexport) void ClearUp();
DWORD GetCurrentDir(CString& strPath);
BOOL RestoreJCUFile(const CString& strPath, IStorage* pStorage);
void ClearUpTempFile(CString szTargetPath ,CString szTemCopyPath ,CString szFileType);
CString g_szRemoveDir;